<template>
  <div class="PageTools-box">
    <!-- 头部 -->
    <el-card class="head-card">
      <el-row type="flex" justify="space-between">
        <!-- 左边 -->
        <el-col :span="6">
          <slot name="before" />
        </el-col>
        <!-- 右边 -->
        <el-col class="right-col" :span="6">
          <slot name="after" />
        </el-col>
      </el-row>
    </el-card>
  </div>
</template>

<script>
export default {
  name: 'PageTools'
}
</script>

<style lang="scss">
.PageTools-box {
  .right-col {
    text-align: right;
  }
}
</style>
